package com.perdragon.repository;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.perdragon.entity.User;

@Repository
public interface UserRepository {
	public List<User> listUser(int startRow);

	public int insert(User user);

	public int update(User user);

	public void delete(int id);

	public List<User> selectById(int id);

	public int getRowNum();

	public User validateUser(@Param("username") String username, @Param("password") String password);
}
